#include "stdafx.h"

DESCRIPTION_11_TEST_SUITE(UnorderedTexture1DViewDescription)

BOOST_FIXTURE_TEST_CASE(Default, TestUnorderedTexture1DViewDescription)
{
	BOOST_REQUIRE_EQUAL(D3D11_UAV_DIMENSION_TEXTURE1D, m_desc.ViewDimension);
	BOOST_REQUIRE_EQUAL(DXGI_FORMAT_UNKNOWN, m_desc.Format);
	BOOST_REQUIRE_EQUAL(0, m_desc.Texture1D.MipSlice);
}

DESCRIPTION_11_SETTER_FIXTURE_TEST_CASE(MipSlice_, UnorderedTexture1DViewDescription, \
										UINT, 1, Texture1D.MipSlice)

BOOST_AUTO_TEST_SUITE_END()
